//
//  CountdownViewController.h
//  iEasyTime
//
//  Created by User on 7/2/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CountdownViewController : UIViewController <UITextFieldDelegate> {
	
	UITextField *mins;
	UITextField *secs;
	UILabel *countdown;
	NSTimer *timer;
	BOOL running;
	double startTime;
	double endTime;
	double now;
	double elapsedTime;
	double remainingTime;
	double stopReference;
	int seconds;
	
}
@property(nonatomic, retain)IBOutlet UITextField *mins;
@property(nonatomic, retain)IBOutlet UITextField *secs;
@property(nonatomic, retain)IBOutlet UILabel *countdown;

- (IBAction) pause;
- (IBAction) reset;
- (IBAction) clear;
- (void) runCountdown;

- (IBAction) finished;

@end
